package com.bee.bootstrap.formDesign.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.bee.bootstrap.formDesign.entity.FormData;
import com.bee.bootstrap.formDesign.mapper.FormDataMapper;
import com.bee.bootstrap.formDesign.service.IFormDataService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liekkas
 * @since 2018-08-26
 */
@Service
public class FormDataServiceImpl extends ServiceImpl<FormDataMapper, FormData> implements IFormDataService {

    @Override
    public List<FormData> findByFormRecordId(Long recordId) {
        return this.selectList(new EntityWrapper<FormData>().eq("form_record_id",recordId));
    }
}
